package com.shuyuwl.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author: Tangnibal
 * @date: 2019年11月06日
 */
@Component
@PropertySource("fdfs_client.properties")
public class FastDfsProperties {
    @Value("${fastdfs-location}")
    private String fastDfsLocation;

    public String getFastDfsLocation() {
        return fastDfsLocation;
    }

    public void setFastDfsLocation(String fastDfsLocation) {
        this.fastDfsLocation = fastDfsLocation;
    }
}
